package com.sayai.work.tools.easyxml.demo.bank;

public class BKMImp {
    private BKMImp()
    {

    }
    private static BKMImp intance = new BKMImp();
    public static BKMImp getInstance ()
    {
        if (intance == null)
        {
            intance = new BKMImp();
        }
        return intance;
    }

    public String makeIncond(String text)
    {
        String[] values = text.split("-");
        String value = "";
        if (values.length > 1) // 交行规范，序号是1的位置是等待的目标
            value = text.split("-")[1];
        else if (values.length == 1)
            value = text;
        return value;
    }
}
